package sctu.edu.java.year2016.team08.chenruixiu.day20160531.chapter9_2;

/**
 * Created by Administrator on 2016/6/2.
 */
public class People {
    public void  eating(int a,int b){
        class Meat{
            int c;
            public Meat(int a,int b){
                c=a*b;

            }
            public void Food(){
                System.out.println(c);

            }
        }
        Meat meat =new Meat(a,b);
        meat.Food();

    }
    public static void main(String[] args){
        People people=new People();
        people.eating(2,4);

    }
}
